AUTOMAKE_OPTIONS = nostdinc
AM_CPPFLAGS = \
	-I$(top_builddir)/include \
	-I$(top_srcdir)/include \
	-I$(includedir) @KERNEL_INCLUDE_PATH@

EXTRA_DIST = libiptc.c

if ENABLE_IPV4TABLES

lib_LTLIBRARIES = libxplnx.la

noinst_HEADERS = \
	linux_list.h \
	linux_stddef.h \
	ipt_kernel_headers.h \
	libiptc.h 

libxplnx_la_SOURCES = \
	iptc.c \
	libip4tc.c \
	iptc.h \
	ipvs.c

libxplnx_la_LDFLAGS = -version-info 1:0:0 -L$(libdir)

endif
